package org.nfIt;

import org.nfIt.annotation.log.EnableLogAspect;
import org.nfIt.properties.MinioProperties;
import org.nfIt.properties.UserProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.EnableLoadTimeWeaving;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * ClossName:ManagerApplication
 * Pakage:org.nfIt
 * Description
 *
 * 启动类：扫描在当前包,当前包下的子包
 *
 * @Author L
 * @Create 2024/6/17 19:42
 * @Version 2023.1.3
 */
@SpringBootApplication
//@ComponentScan(basePackages = {"org.nfIt.common","org.nfIt.common.config"})
@EnableConfigurationProperties(value = {UserProperties.class, MinioProperties.class})
//开启定时任务
@EnableScheduling
//是为了引入common-log模块下的LogAspect环绕通知类
@EnableLogAspect
public class ManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class,args);
    }
}
